package com.calvin.study.strategy.strategy;

import com.calvin.study.strategy.spring.context.StrategyContext;

public abstract class AbstractStrategy implements Strategy {
    // 类注册方法
    public void register() {
        StrategyContext.registerStrategy(getClass().getSimpleName(), this);
    }
}
